extends MeshInstance


# Declare member variables here. Examples:
# var a = 2
# var b = "text"


# Called when the node enters the scene tree for the first time.
func _ready():
	$on_enter.connect("body_entered", self, "on_body_entered")
	
func on_body_entered(body):
	var player = body.get_parent()
	if player.name == "player":
		player.emit_signal("open_seat_ui")

